<div id="page">
    <div class="page-title">
        <div class="in" style="z-index: 770;">
            <div class="titlebar" style="z-index: 760;">	
                <h2><?php echo $lang['heading_title'] ?></h2>	
            </div>
        </div>
    </div>
    <div class="content" >

        <!-- START TABLE -->
        <div class="simplebox grid740">

            <div class="titleh"><h3><?php echo $lang['heading_title'] ?></h3>
                <div class="shortcuts-icons">
                    <a class="shortcut tips" href="<?php echo admin_url('languages/form') ?>" title="<?php echo $lang['btn_add_language'] ?>"><img src="<?php echo base_url(); ?>admin_public/img/icons/shortcut/plus.png" width="25" height="25" alt="icon" /></a>
                </div>
            </div>
            <div id="example_wrapper" class="dataTables_wrapper">
                <div class="fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix">
                    
                </div>

                <div id="user-table">
                    <table id="" class="tablesorter"> 
                        <thead> 
                            <tr> 
                                <th>#</th>
                                <th><?php echo $lang['text_name'] ?></th> 
                                <th><?php echo $lang['text_code'] ?></th> 
                                <th><?php echo $lang['text_locale'] ?></th> 
                                <th><?php echo $lang['text_directory'] ?></th> 
                                <th><?php echo $lang['text_status'] ?></th> 
                                <th><?php echo $lang['text_action'] ?></th> 
                            </tr> 
                        </thead> 

                        <tbody> 

                            <?php foreach ($languages as $language) { ?>
                                <tr> 
                                    <td><?php echo $language->language_id ?></td> 
                                    <td><?php echo $language->name ?></td> 
                                    <td><?php echo $language->code ?></td> 
                                    <td><?php echo $language->locale ?></td> 
                                    <td><?php echo $language->directory ?></td> 
                                    <td ><?php echo ($language->status == 1) ? $lang['text_active'] : $lang['text_deactive'] ?></td> 
                                    <td>
                                        <a href="<?php echo admin_url('languages/form/' . $language->language_id) ?>" title="<?php echo $lang['text_edit'] ?>"><img src="<?php echo base_url() ?>/admin_public/img/Pencil-icon.png"/></a>
                                        <a href="<?php echo admin_url('languages/delete/' . $language->language_id) ?>" title="<?php echo $lang['text_edit'] ?>"><img src="<?php echo base_url() ?>/admin_public/img/Button-Close-icon.png"/></a>
                                    </td> 
                                </tr> 
                            <?php } ?>
                        </tbody> 
                    </table>
                </div>

                <div id="navigation" class="fg-toolbar ui-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix">
                </div>
            </div>
        </div>
        <!-- END TABLE -->

    </div>

</div>
